<pdf>
    <dynamic-page page-size="a4">
        <placeholders>
            <header>
                <div height="240">
                    <table>
                        <tr>
                            <td height="110" border-type="none"></td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td  text-align="center" width="20%" border-type="none" font-style="bold" font-size="14px"  height="28">
                                FACTURE
                            </td>
                            <td  text-align="center" width="50%" border-type="none" height="35">
                            </td>
                            <td border-type="none" font-style="bold" font-size="12px" height="30">
                                Divers
                            </td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td  text-align="center" width="20%" font-style="bold" font-size="14px" border-type="none" height="30">
                                {{ numero }}
                            </td>
                            <td  text-align="center" width="50%" border-type="none" height="30">
                            </td>
                            <td border-type="none" height="30">

                            </td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td height="5" border-type="none"></td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td  text-align="center" width="30%" border-type="none" height="30">
                                {{ date }} 
                            </td>
                            <td  text-align="center" width="40%" border-type="none" height="30">
                            </td>
                            <td border-type="none" height="30">

                            </td>
                        </tr>
                    </table>
                </div>
            </header>
            <footer>
                <div height="170">
                    <table>
                        <tr>
                            <td  border-type="none" height="30"></td>
                        </tr>
                    </table>
                    <table width="100%">
                        <tr >
                            <td  border-type="none" height="15" width="85%"></td>
                            <td  border-type="none" height="15">

                            </td>
                        </tr>
                    </table>    
                    <table width="100%">
                        <tr >
                            <td  border-type="none" height="15" width="20%"></td>
                            <td  border-type="none" height="15" width="65%">
                                Facture
                            </td>
                            <td  border-type="none" height="15">

                            </td>
                        </tr>
                    </table>
                    <table width="100%">
                        <tr >
                            <td  border-type="none" height="15" width="85%">
                                                            {{ lettre }}
                            </td>
                            <td  border-type="none" height="15">
                                                    {{montant|number_format(3)}}
                            </td>
                        </tr>
                    </table>
                    <table width="100%">
                        <tr >
                            <td  border-type="none" height="15" width="85%"></td>
                            <td  border-type="none" height="15">
                                                    {{tva|number_format(3)}}
                            </td>
                        </tr>
                    </table>        
                    <table width="100%">
                        <tr >
                            <td  border-type="none" height="15" width="85%"></td>
                            <td  border-type="none" height="15">
                                0.400
                            </td>
                        </tr>
                    </table>   
                    <table width="100%">
                        <tr >
                            <td  border-type="none" height="15" width="85%"></td>
                            <td  border-type="none" height="15">
                                                    {{(montant+tva+0.4)|number_format(3)}}
                            </td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td height="70" border-type="none"></td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td border-type="none" width="90%"></td>
                            <td border-type="none">
                        <page-info offset="0" format="page %s/%s" />
                        </td>
                        </tr>
                    </table>
                </div>
            </footer>
        </placeholders>
        <div>


            <table width="100%">
                <tr>
                    <td width="16%" border-type="none" text-align="center" height="15"></td>
                    <td width="37%" border-type="none" height="15">Recette Du Jour</td>
                    <td width="8%" border-type="none" text-align="center" height="15">1</td>
                    <td width="12%" border-type="none" text-align="center" height="15"></td>
                    <td width="7%" border-type="none" text-align="center" height="15"></td>
                    <td width="9%" border-type="none" text-align="center" height="15"></td>
                    <td border-type="none" text-align="center" height="15">{{ montant|number_format(3) }}</td>
                </tr>
            </table>


        </div>
    </dynamic-page>
</pdf>